package com.hkts.naturalgas.index.entity;

import lombok.Data;

@Data
public class ParamVo {
    public static final int day=0;
    public static final int yesterday=1;
    public static final int week=2;
    public static final int month=3;

    public static final int HONTLOG=0;
    public static final int CHECK=1;
    /**
     * 部门id
     */
    public String departId;
    /**
     * 0：今日 1昨日2本周 3本月 4其他
     */
    public Integer selectType;
    /**
     * 0:个人 1：班组2：全部
     */
    public Integer departType;
    /**
     * 部门ids
     */
    public String departIds;
    public String beginDate;
    public String endDate;
    private Integer pageNumber;

    private Integer pageSize;

    private Integer firstRow;

    private Integer lastRow;

    public Integer getFirstRow() {
        firstRow=pageSize*(pageNumber-1);
        return firstRow;
    }

    public Integer getLastRow() {
        lastRow=pageSize;
        return lastRow;
    }

}
